from django.db import models


# Create your models here.


class Card(models.Model):
    card = models.CharField(verbose_name='卡密', max_length=128, )
    tips = models.CharField(verbose_name='提示信息', max_length=256, blank=True)
    end_time = models.DateTimeField(verbose_name='过期时间', auto_now=True)
    devices = models.IntegerField(verbose_name='支持设备数', default=2)
    online_devices = models.IntegerField(verbose_name='在线设备数', default=0)
